
.list {
	width: 100%;
	background: white;
	display: inline-block;
	box-shadow: 1px 1px 10px 1px rgba(51, 51, 51, .1);
	margin-top:10px;
	.center{
		justify-content: center;
	}
	
	.p {
		padding-top: 5px;
		color: #999;
		font-size: 14px;
	}
	.h3 {
		flex: 1;
		color: #333;
		letter-spacing: 1px;
		font-size: 20px;
		white-space: nowrap;
		font-weight: 600;
		padding-bottom: 5px;
	}
	.h4 {
		flex: 1;
		color: #333;
		letter-spacing: 1px;
		font-size: 16px;
		white-space: nowrap;
		font-weight: 600;
		padding-bottom: 5px;
		overflow: hidden; //超出的文本隐藏
		text-overflow: ellipsis; //溢出用省略号显示
	}
	.list-line{
		border-top: 1px solid $uni-border-color;
		padding: 5px 10px 5px 10px;
		color: #7c7c7c;
		font-size: 14px;
		
		.line-content{
			background-color: $uni-border-color;
			color: #333;
			margin-top: 10px;
			padding: 8px;
			border-radius: 5px;
		}
	}
	.list-bar{
		display:flex;
		justify-content: space-between;
		align-items: center;

		white-space: nowrap;
		margin-top:5px;
		padding: 5px 10px;
		height:90rpx;

		border-top: 1px solid $uni-border-color;
		position: relative;
		button {
			line-height:2.3;
			border: 1px solid $uni-border-color;
			background-image: none;
			background-color: #FFFFFF;
			color: #333;			
			margin-right: 10px;
			padding: 0px 10px 0px 10px;
			display: flex;
			align-content: center;
			flex-wrap: nowrap;
			text-align: center;
			justify-content: center;
			font-size: 13px;
			border-radius: 30px;
			align-items: center;
		
			text {
				margin: 0px 10px !important;
				//width: 100%;
				font-size: 13px;
				display: inline-block;
				text-wrap: none;
			}
					
					
			&:last-child {
				margin: 0px;
			}
		}
					
		button::after {
			border: none;
			background: transparent;
		}
		
		.btn-primary{
			background-color: #ff0f0f;
			background-image: linear-gradient(to right, #ff8b16 , #ff0f0f);
			color:#FFF;
			border: 0px;
		}
		.btn-blue{
			border: 0px;
			background-color: $blue;
			color: white;
		}
		.btn-green{
			border: 1px solid $uni-border-color;
			background-image: none;
			color: green;
		}
		
		.btn-red{
			border: 1px solid $uni-border-color;
			background-image: none;
			color: red;
		}
		.p{
			padding-top: 0;
		}
	}
	
	.list-text{
		padding:0 15px 15px 15px;
		text {
			line-height: 1.8;
			color: #999;
			font-size: 14px;
		}
	}
	.list-header{
		position: relative;
		border-bottom: 1px solid $uni-border-color;
		padding: 5px 15px;
		height:90upx;
		display: flex;
		align-items: center;
		
		.h4{
			padding-bottom: 0;
		}
	}
	
	.list-padding {

		padding: 10px 15px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		
		.item-avatar {
			padding-right:10px;
			position: relative;
			display: flex;
			align-items: flex-start;
			image {
				width: 120rpx;
				height: 120rpx;
				border-radius: 50%;
			}

		}
		.item-icon {
			padding-right:10px;
			position: relative;
			display: flex;
			align-items: flex-start;
			image {
				width: 120rpx;
				height: 120rpx;
			}
		
		}
		.small image{
			width: 80rpx;
			height: 80rpx;
		}		
		.item-image {
			width: 100px;
			height: 100px;
			position: relative;
			display: flex;
			align-items: center;
			image {
				width: 100%;
				height: 100%;
				border-radius: 3px;
			}
			text{
				position: absolute;
				bottom:0;
				left:0;
				width:100%;
				background-color: rgba(0,0,0,.7);
				text-align: center;
				color:white;
			}
		}
		.item-goods {
			padding:0 5px 0 10px;
			position: relative;
			display: flex;
			align-items: flex-start;
			image {
				margin-top: 10rpx;
				width: 120rpx;
				height: 120rpx;
				border-radius: 10px;
			}
		}
		.image-text {
			position: absolute;
			bottom: 0px;
			left: 0px;
			width: 100%;
			font-size:12px;
			background:rgba(0,0,0,.7);
			color:white;
			text-align:center;
		}
		
		.item-text {
			flex: 1;
			height: 100%;
			padding: 5px 10px;
		}
		
		.item-content {
			flex: 1;
			height: 100%;
			text {
				//width: 100%;
				display: inline-block;
			}
			.p{
				padding-top: 5px;
				display: block;
			}
			.p:first-child{
				padding-top:0;
			}
			.item-title{
				display: flex;
				justify-content: space-between;
				align-content: center;
				align-items: center;
				min-height: 35px;
				padding-top:5px;
				
				text{
					width:auto;
				}
				.h4{
					padding-top: 0;
				}
			}
			.flex-text{
				text{
					width:auto;
				}
			}
			.tag{
				padding-top: 0;
			}
			
		}
	}
	
	.item-remark{
		position: relative;
		border-radius: 5px;
		width: 100%;
		padding:8px;
		background-color: #f2f2f2;
		text{
			color:#999;
		}
	}
	
	.item-remark::before{
		position: absolute;
		top: -6px;
		left: 32px;
		content: '';
		border-bottom: 8px solid #f2f2f2;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
	}
	.flex-split{
		text{
			width: auto !important;
		}

	}
}

.list-card{
	padding: 0 10px 15px 10px;
}
.card{
	border-radius: 10px;
	.top-tag{
		background-color: #ff0f0f;
		border-top-left-radius: 10px;
		border-bottom-right-radius: 10px;
		width:30%;
		display: flex;
		justify-content: center;
		align-items: center;
		line-height: 1.8;
		
		text{
			color: white;
		}
	}
	.list-padding{
		padding: 12px 15px;
		.item-text{
			padding:5px 15px 5px 0;

		}
	}
	
}
.task{
	.list-body{
		flex: 1;
		.lineBlock{
			line-height: 1.7;
		}
	}
	.list-padding{
		align-items: flex-start;
		justify-content :flex-start;
		padding:20px 10px 10px 10px;
	}
	.list-bar{
		margin-top:0;
		border-top: none;
	}
}
//优惠券
.coupon{
	border-radius: 10px;
	box-shadow:none;
	border: 1px solid $uni-border-color;
	
	.list-bar{
		position: relative;
		border-top: 1px dashed $uni-border-color;
		padding: 5px 15px;
		height:90upx;
	}
	.list-bar:after { 
		width:20upx; 
		height:40upx; 
		position:absolute; 
		left:-1px; 
		top:-22upx; 
		border-radius:0 40upx 40upx 0; 
		content:""; display:block; 
		background:$body-bg-color; 
		border:1px solid #eeeeee; 
		border-left:0px; 
	}
	.list-bar:before { 
		width:20upx; 
		height:40upx; 
		position:absolute; 
		right:-1px; 
		top:-22upx; 
		border-radius:40upx 0 0 40upx; 
		content:""; 
		display:block; 
		background:$body-bg-color; 
		border:1px solid #eeeeee; 
		border-right:0px; 
	}
	.price { 
		line-height:50upx;
		font-size:50upx; 
		color:#ff9000; 
		font-weight:bold; 
	 }

}
.price-list{
	border-radius: 10px;
	box-shadow:none;
	.list-padding{
		padding:10px 5px 10px 15px;
	}
	.price-bar{
		display: flex;
		align-items: center;
		justify-content: flex-start;
		position: relative;
		border-right: 1px dashed $uni-border-color;
		padding: 10px 20px 10px 0;
		min-height:100upx;
	}
	.price-bar:after { 
		width:40upx; 
		height:20upx; 
		position:absolute; 
		right:-20upx; 
		top:-22upx; 
		border-radius:0  0 40upx 40upx; 
		content:""; display:block; 
		background:$body-bg-color; 
		border:1px solid $uni-border-color; 
		border-top:0px; 
	}
	.price-bar:before { 
		width:40upx; 
		height:20upx; 
		position:absolute; 
		right:-20upx; 
		bottom:-22upx; 
		border-radius: 40upx 40upx 0 0; 
		content:""; 
		display:block; 
		background:$body-bg-color; 
		border:1px solid $uni-border-color; 
		border-bottom:0px; 
	}
	.price { 
		line-height:50upx;
		font-size:50upx; 
		color:#ff3000; 
		font-weight:bold; 
	 }

}
.function{
	margin-top:0;
	position: relative;
	.active{
		background-color: #f8f8f8;
		border-radius: 5px;
		border-bottom: none;
	}
	.active::after {
	    content: ' ';
	    position: absolute;
	    display: inline-block;
	    width: 16rpx;
	    height: 10rpx;
	    border-width: 0 0 4rpx 4rpx;
	    overflow: hidden;
	    border-color: #fff;
	    border-style: solid;
	    -webkit-transform: rotate(-45deg);
	    transform: rotate(-45deg);
	    right: 6rpx;
	    top: 6rpx;
	  }
	
	.active::before{
		content: ' ';
		border: 24rpx solid #55aaff;
		border-left: 24rpx solid transparent;  
		border-bottom: 24rpx solid transparent; 
		/*跟card的border-radius设置的值一致*/
		border-top-right-radius: 10rpx;
		position: absolute;      
		width: 0;  
		right: 0;
		top:0;
	}
	.list-padding{
		position: relative;
		padding: 5px 5px 15px;
		//border-radius: 5px;
		box-sizing: content-box;
		
		.item-text{
			padding:5px 10px;
		}
		
	}
	
	.h4 {
		padding-bottom: 0;
	}
	
	
	
}
.row-border{
	.list-padding{
		border-bottom: 1px solid #f2f2f2;
		
		&:last-child {
			border-bottom: none;
		}
	}
}

.banner{
	border-radius: 12px;
	overflow: hidden;
	
	.list-padding{
		padding: 0;
		
		.item-banner{
			width: 100%;
			height: 100%;
			
			image{
				width:100%;
			}
		}
		.item-text{
			padding:15px 15px 5px 15px;
			min-height: 200rpx;
			background-color: #f8f8f8;
		}
		.default-banner{
			background-image: url($bg-banner);
			background-repeat: no-repeat;
			padding: 5px 10px;
			
			text{
				font-size: 22px;
				color: white;
			}
		}
	}
	
	.list-bar{
		margin-top: 0;
		padding: 0 15px;
		height: 80rpx;
		border: none;
	}
}
.nullView {
	width: 100%;
	margin-top: 30%;
	margin-bottom:30%;
	text-align: center;
	image {
		width: 100%;
		height: 120px;
	}

	text {
		width: 100%;
		display: inline-block;
		margin-top: -20px;
		font-size: 14px;
		color: #999;
	}
}
.box{
	.list{
		box-shadow: none;
	}
}